<script setup lang="ts">
import {tryTest} from "@/http/home";
import FooterBar from "@/components/index/footer/FooterBar.vue";
// import {useRoute} from "vue-router";

tryTest({pageNum: 1, pageSize: 2}).then(res => {
    console.log(res)
})

// 接受父组件
// const props = defineProps({
//         teacherInfo: {
//             type: [Object, String]
//         }
//     }
// )

// 跳转
////跳转到树洞详情页面传参
// const detailId = useRouter()
//
// function jumpDetail(item) {
//     detailId.push({
//         path: '/detailHole',
//         query: {id: item.id}
//     })
// }

// 接收跳转
// const route = useRoute()
// const id = route.query.id
const onClickLeft = () => history.back();

</script>

<template>

<!--    :articleInfo="item"-->
    <van-nav-bar
        :fixed=true
        :placeholder=true
        title="咨询师"
        left-text="返回"
        left-arrow
        @click-left="onClickLeft"
    />
    <div>
        1111
        33333
        44444

    </div>
    <div>
<!--        401跳到登录页面-->
        搜索结果，更多

    </div>
    <footer-bar></footer-bar>
</template>

<style scoped>

</style>